import request from '@/utils/request'
const url = '/api'
export function list${ aliasHump?cap_first }(query) {
  return request({
    url: url + '/${mapper}/list',
    method: 'get',
    params: query
  })
}

export function create${ aliasHump?cap_first }(data) {
  return request({
    url: url + '/${mapper}/create',
    method: 'post',
    data
  })
}

export function readmin${ aliasHump?cap_first }(data) {
  return request({
    url: url + '/${mapper}/readmin',
    method: 'get',
    data
  })
}

export function update${ aliasHump?cap_first }(data) {
  return request({
    url: url + '/${mapper}/update',
    method: 'post',
    data
  })
}

export function delete${ aliasHump?cap_first }(data) {
  return request({
    url: url + '/${mapper}/delete',
    method: 'post',
    data
  })
}
